Yay_Currency\WooCommerceCurrency D

Total Complexity 217
Dependencies 3
Dependents 1
Total lines 1,056
Lines of code 915
Logical lines of code 492
Comment lines 32
Methods 42
Properties 7

Methods 42

Method Rating Maintainability Complexity Lines of code
change_format_order_item_totals()
B
34 20 90
change_shipping_cost()
B
37 21 66
get_formatted_order_subtotal()
B
37 18 73
get_formatted_order_shipping()
B
39 16 64
change_format_order_line_subtotal()
A
42 11 53
update_currency_option()
A
41 8 63
get_formatted_order_discount()
A
46 9 37
get_formatted_order_total()
A
47 8 38
add_woocommerce_filters()
A
41 6 53
update_currency_meta_option()
S
55 7 20
conditional_payment_gateways()
S
53 6 24
evaluate_cost()
S
49 5 29
update_exchange_rate_currency()
S
55 5 20
doHooks()
S
48 3 35
get_country_info_from_IP()
S
55 4 19
change_currency_position()
S
65 5 9
change_thousand_separator()
S
65 5 9
change_decimal_separator()
S
65 5 9
change_existing_currency_symbol()
S
63 5 10
change_number_decimals()
S
65 5 9
custom_raw_price()
S
64 5 10
custom_mini_cart_price()
S
67 4 7
custom_checkout_order_total()
S
62 3 12
custom_checkout_order_subtotal()
S
62 3 12
add_order_currency_meta()
S
60 3 12
get_currency_by_ID()
S
54 2 21
round_line_tax()
S
69 3 6
calculate_price_by_currency_html()
S
60 2 12
add_notice_checkout_payment_methods()
S
66 2 7
calculate_price_by_currency()
S
67 2 6
custom_checkout_product_subtotal()
S
63 2 10
getInstance()
S
70 2 7
custom_variation_price_hash()
S
70 2 6
change_coupon_amount()
S
72 2 6
get_currencies_post_type()
S
64 1 10
get_values_for_total()
S
66 1 9
get_cart_subtotal_for_order()
S
70 1 7
show_notice_notification()
S
72 1 7
round_at_subtotal()
S
79 1 3
get_currency_symbol()
S
73 1 5
get_current_and_default_currency()
S
65 1 9
__construct()
S
98 1 1